home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
addpcx.zip
/
IBMTIMER.H
< prev
next >
Wrap
C/C++ Source or Header
|
1988-06-21
|
540b
|
21 lines
/* IBMTIMER - header containing the struct used by the
ibmtimer.c module, stopwatch function.
*/
struct IBMPC_STOPWATCH {
unsigned long elapsed_time,
last_count;
};
#define IBMPC_TIMER0_FREQ (1193180l) /* channel 0 count freq. */
unsigned long
ibmpc_stopwatch(), /* computes elapsed time */
read_ibmpc_time(), /* returns # counts during last hour */
cvt_ibmpc_time(); /* converts # counts to mins,secs,1/1000s */
unsigned int read_ibmpc_timer();/* returns # counts during last 1/18.2 sec */